/**
 * @(#)SmsServiceGroup.java.java	1.0  16-06-2014 
 *
 * Copyright 2014 Viettel Telecome. All rights reserved.
 * VIETTEL PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.viettel.core.entities.report;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 *  NHOM DICH VU SMS
 *  @author: toantm1
 *  @since: 16-06-2014 - 10:03:47
 */
@Entity
@Table(name = "SMS_SERVICE_GROUP")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@SequenceGenerator(name = "SEQ_STORE", sequenceName = "SMS_SERVICE_GROUP_SEQ", allocationSize = 1)
public class SmsServiceGroup implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5422092054905002450L;

	/** The id. */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_STORE")
	@Column(name = "ID", precision=10, scale=0)
	private Integer id;
	
	/**
	 *  TEN NHOM DICH VU
	 */
	@Basic
	@Column(name = "NAME", length=30, nullable=false)
	private String name;
	
	/**
	 *  TEN QUEUE NAME
	 */
	@Basic
	@Column(name = "QUEUE_NAME", length=50, nullable=false)
	private String queueName;
	
	/**
	 * MO TA NHOM DICH VU
	 */
	@Basic
	@Column(name = "DESCRIPTION", length=500)
	private String description;

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	public String getQueueName() {
		return queueName;
	}

	public void setQueueName(String queueName) {
		this.queueName = queueName;
	}

}
